package com.engineering.elink.service;

import java.util.Map;

import com.engineering.elink.co.BaseCo;
import com.engineering.elink.co.CommentCo;
import com.engineering.elink.domain.Praise;

public interface CommentService {

	Map<String, Object> getTopCommentsByFileId(CommentCo co);

	Map<String, Object> addReply(String fileId, int commentId, String userId,String content);

	Map<String, Object> add(String fileId, String userId, String content);

	Map<String, Object> addPraise(Praise praise);

	Map<String, Object> getAllCommentsByTopId(BaseCo bc, int topId);

	Map<String, Object> getCommentForMe(BaseCo co ,String userId);

	Map<String, Object> getMyComment(BaseCo co ,String userId);

}
